LibNRG  0.0.1
Networking for Real-time Games library
 All Classes Files Functions Variables Friends
nrg::Field< T[N]> Class Template Reference

Specialisation of Field for array types.

#include <nrg_field.h>

Inheritance diagram for nrg::Field< T[N]>:
nrg::FieldBase

Public Member Functions

 Field (FieldContainer *c)
 
 Field (FieldContainer *c, const T(&t)[N])
 
virtual size_t readFromPacket (Packet &p)
 Reads data from Packet p into this Field.
 
virtual size_t writeToPacket (Packet &p) const
 Writes this Field into the Packet p.
 
virtual void shiftData ()
 Indicates a new Snapshot has begun and the Field should move data_next to data.
 
virtual void setUpdated (bool updated)
 Force this Field's updated flag to be true or false.
 
void set (size_t index, const T &other)
 
Fieldoperator= (const T(&other)[N])
 
get (size_t index) const
 
template<class F >
getInterp (size_t index, const F &func) const
 
getInterp (size_t index) const
 

The documentation for this class was generated from the following file: